Getting Started with ADOL-C
نویسنده
چکیده
The C++ package ADOL-C described in this paper facilitates the evaluation of first and higher derivatives of vector functions that are defined by computer programs written in C or C++. The numerical values of derivative vectors are obtained free of truncation errors at mostly a small multiple of the run time and a fix small multiple random access memory required by the given function evaluation program. Derivative matrices are obtained by columns, by rows or in sparse format. This tutorial describes the source code modification required for the application of ADOL-C, the most frequently used drivers to evaluate derivatives and some recent developments.
منابع مشابه
Wrappers for ADOL-C in scripting languages using SWIG
R is a language and environment for statistical computing and graphics [1]. It currently is widely used in statistics and data mining. To obtain derivatives in R, one can use several non-native approaches, including the TMB system [2] and Ryacas [3]. However, none of these options support the di↵erentiation of functions expressed as R programs, as would an algorithmic di↵erentiation (AD) tool f...
متن کاملInfluence of strain, dose of virus, and age at inoculation on subgroup J avian leukosis virus persistence, antibody response, and oncogenicity in commercial meat-type chickens.
The effects of viral strain, viral dose, and age of bird at inoculation on subgroup J avian leukosis virus (ALV J) persistence, neutralizing antibody (VNAb) response, and tumors were studied in commercial meat-type chickens. Chickens were inoculated on the fifth day of embryonation (5 ED) or on day of hatch (DOH) with either 100 or 10,000 50% tissue-culture infective dose (TCID50) of one of thr...
متن کاملEfficient Calculation of Sensitivities for Optimization Problems
Sensitivity information is required by numerous applications such as, for example, optimization algorithms, parameter estimations or real time control. Sensitivities can be computed with working accuracy using the forward mode of automatic differentiation (AD). ADOL-C is an AD-tool for programs written in C or C++. Originally, when applying ADOL-C, tapes for values, operations and locations are...
متن کاملA new algorithm for the index determination in DAEs by Taylor series using Algorithmic Differentiation
We present an approach for determining the tractability index using truncated polynomial arithmetic. In particular, computing the index this way generates a sequence of matrices that contains itself derivatives. We realize the time differentiations using Algorithmic Differentiation techniques, specially by using the standard ADOL-C package with which calculating the derivatives becomes a simple...
متن کاملLIEDRIVERS - A Toolbox for the Efficient Computation of Lie Derivatives Based on the Object-Oriented Algorithmic Differentiation Package ADOL-C
Lie derivatives are widely used in mathematics and physics. They are usually computed symbolically using computer algebra software. This symbolic computation might fail for very complicated expressions. Moreover, symbolic differentiation becomes more difficult if the function to be differentiated is not described explicitly as a function but by an algorithm. This is a situation occuring quite o...
متن کامل